* {
  box-sizing: border-box;
}
.calendar-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.calendar-header {
  text-align: center;
  padding: 15px 0;
  font-size: 18px;
  font-weight: bold;
  position: relative;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.weekdays {
  display: flex;
  padding: 10px 0;
}

.weekday {
  flex: 1;
  text-align: center;
  font-size: 14px;
  color: #666;
}

.calendar-body {
  position: relative;
  height: 250px;
  overflow-y: auto;
}

.month-container {
  width: 100%;
  color: #fff;
}

.month-container.choose-month {
  color: #000;
}

.days {
  display: flex;
  flex-wrap: wrap;
}

.day {
  width: calc(100% / 7);
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  position: relative;
  cursor: pointer;
}

.day.today {
  color: #fff !important;
  background: #4285f4;
  font-weight: bold;
}

.day.selected {
  border: 1px solid #4285f4;
  color: #4285f4;
}

.day.has-events::after {
  content: '';
  position: absolute;
  bottom: 5px;
  width: 5px;
  height: 5px;
  background: #4285f4;
  border-radius: 50%;
}

.day.selected.has-events::after {
  background: #4285f4;
}
.day.today.has-events::after {
  background: #fff;
}

.loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 14px;
  color: #999;
}

.blank-day {
  width: calc(100% / 7);
  height: 40px;
}
